package com.ht.system.domain;

import com.ht.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 系统平台管理对象 sys_platform
 *
 * @author ruoyi
 * @date 2023-06-29
 */
public class SysPlatform extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String platformId;

    /** 平台标识(数据唯一) */
    @ApiModelProperty(value = "平台标识(数据唯一)")
    private String platformSource;

    /** 平台名称 */
    @ApiModelProperty(value = "平台名称")
    private String platformName;

    /** 平台连接 */
    @ApiModelProperty(value = "平台连接")
    private String platformUrl;

    /** 平台图标 */
    @ApiModelProperty(value = "平台图标")
    private String platformIcon;

    /**排序值*/
    @ApiModelProperty(value = "排序值")
    private Integer platformSort;

    private String showFlag;

    public Integer getPlatformSort() {
        return platformSort;
    }

    public void setPlatformSort(Integer platformSort) {
        this.platformSort = platformSort;
    }

    public void setPlatformId(String platformId)
    {
        this.platformId = platformId;
    }

    public String getPlatformId()
    {
        return platformId;
    }
    public void setPlatformSource(String platformSource)
    {
        this.platformSource = platformSource;
    }

    public String getPlatformSource()
    {
        return platformSource;
    }
    public void setPlatformName(String platformName)
    {
        this.platformName = platformName;
    }

    public String getPlatformName()
    {
        return platformName;
    }
    public void setPlatformUrl(String platformUrl)
    {
        this.platformUrl = platformUrl;
    }

    public String getPlatformUrl()
    {
        return platformUrl;
    }
    public void setPlatformIcon(String platformIcon)
    {
        this.platformIcon = platformIcon;
    }

    public String getPlatformIcon()
    {
        return platformIcon;
    }

    public String getShowFlag() {
        return showFlag;
    }

    public void setShowFlag(String showFlag) {
        this.showFlag = showFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("platformId", getPlatformId())
            .append("platformSource", getPlatformSource())
            .append("platformName", getPlatformName())
            .append("platformUrl", getPlatformUrl())
            .append("platformIcon", getPlatformIcon())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
